<template>
  <div class="split-pane-con">
    <!-- <SplitPane v-model="offset"></SplitPane> -->
    <SplitPane :value.sync="offset">
      <div slot="left">left</div>
      <div slot="right">right</div>
    </SplitPane>
  </div>
</template>
<script>
import SplitPane from '_c/split-pane'
export default {
  components: {
    SplitPane
  },
  data () {
    return {
      offset: 0.8
    }
  }
}
</script>
<style lang="less" scoped>
  .split-pane-con {
    width: 400px;
    height: 200px;
    background-color: palegoldenrod;
  }
</style>
